package cn.ainit.yz.flow;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

@Service
public class YzFlowServiceImpl implements YzFlowService {

	private YzFlowDao yzFlowDao;
	@Resource
	public void setYzFlowDao(YzFlowDao yzFlowDao) {
		this.yzFlowDao = yzFlowDao;
	}

	@Override
	public boolean saveYzFlow(Object obj) throws Exception {
		return yzFlowDao.saveYzFlow(obj);
	}

	@Override
	public boolean updateYzFlow(Object obj) throws Exception {
		return yzFlowDao.updateYzFlow(obj);
	}

}
